SmashBalloon\Reviews\Common\Feed D

Total Complexity 180
Dependencies 10
Dependents 5
Total lines 665
Lines of code 484
Logical lines of code 274
Comment lines 17
Methods 39
Properties 10

Methods 39

Method Rating Maintainability Complexity Lines of code
filter_posts()
D
29
69 81
api_request()
B
42 16 47
hydrate_sources()
A
50 10 30
update_posts_cache()
S
52 6 24
update_header_cache()
S
54 6 20
get_set_cache()
S
54 5 21
get_post_set_page()
S
56 5 18
init()
S
59 5 13
cache_single_posts_from_set()
S
57 4 16
__construct()
S
54 3 22
maybe_encrypt_cached_posts()
S
65 4 8
sort_array_byrating_and_date()
S
64 4 9
posts_from_db()
S
59 3 14
add_source_to_post_set()
S
61 3 12
is_last_page()
S
62 3 11
update_header_cache_from_source()
S
55 2 21
provider_for_provider_id()
S
67 3 8
get_db_lang()
S
68 2 7
get_remote_header_data()
S
69 2 7
get_remote_header_data_old()
S
68 2 7
sort_array_bydate()
S
69 2 6
get_remote_posts()
S
71 2 6
sort_array_byrating()
S
69 2 6
is_single_manual_review()
S
78 2 3
hydrate_single_manual_review()
S
60 1 15
get_posts_for_moderation()
S
66 1 8
get_settings()
S
82 1 3
should_check_media()
S
82 1 3
get_feed_id()
S
82 1 3
get_errors()
S
80 1 3
set_errors()
S
80 1 3
add_error()
S
71 1 6
set_header_data()
S
81 1 3
get_feed_style()
S
82 1 3
update_cache()
S
72 1 5
set_posts()
S
81 1 3
get_posts()
S
82 1 3
get_header_data()
S
82 1 3
is_init_wpml()
S
82 1 3